<template>
  <div>
    <div>
    <input type="text" v-model="state.msg"/>
    <span>{{ state.msg }}</span>
  </div>
  <div>
    <input type="text" v-model.lazy="state.msg"/>
    <span>{{ state.msg }}</span>
  </div>
  </div>
</template>
<script>
import { reactive} from 'vue'
export default{
  setup(){
    const state = reactive({
      msg:''
    })
    return {state}
  }
}
</script>